package com.ben.xinyue.seckill.access;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author: xinyue
 * @date: 2020/9/15 10:15
 * @description: 访问限制
 * @modifiedBy:
 * @version: 1.0
 */
@Retention(RUNTIME)
@Target(METHOD)
public @interface AccessLimit {

    boolean needLogin() default true;
}
